<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
%>
<!DOCTYPE html>
<html lang="en">
<head>
	<style>
		.validator{
			top:10px !important;
		}
		.space{
			width:90%;
		}
	</style>
</head>
<body>
	<div class="page-head">
   		<div class="page-title">
			<h1>
			操作品质
			</h1>
		</div>
   	</div>
   	<div class="row">
    		<div class="col-md-12">
    			<div class="portlet light portlet-fit bordered">
    				<div class="portlet-body">
    					<div class="dataTables_wrapper no-footer">
    						<div class="row">
	    						<div class="col-md-2">
	    							<label class="control-label">
	    								<b>查询条件</b>
	    							</label>
	    						</div>
	    					</div>
	    					<div class="row">
	    						<div class="col-md-9">
		    						<form id="searchform" class="form-horizontal" role="form">
		    							<div class="row">
		    								<div class="col-md-6">
												<div class="form-group">
	                                                <label class="control-label col-md-2">日期</label>
	                                                <div class="col-md-4">
	                                                    <div class="input-group input-large date-picker input-daterange" data-date="" data-date-format="yyyy-mm-dd">
	                                                        <input id="from_date" name="from_date" class="form-control" name="from" type="text">
	                                                        <span class="input-group-addon"> to </span>
	                                                        <input id="to_date" name="to_date" class="form-control" name="to" type="text"> 
	                                                    </div>
	                                                </div>
	                                            </div>
                                            </div>
                                            <div class="col-md-3">
					                            <div class="form-group">
					                            	<label class="control-label col-md-4">类别</label>
					                            	<div class="col-md-8">
					                            		<select id="stype" name="stype"  class="form-control"></select>
					                            	</div>
					                                
					                            </div>	
                                            </div>
                                            <div class="col-md-3">
						                           <div class="form-group">
					                            	<label class="control-label col-md-4">站点</label>
					                            	<div class="col-md-8">
					                            		<select id="sope_id" name="sope_id"  class="form-control"></select>
					                            	</div>
					                                
					                            </div>
                                            </div>
		    							</div>
		    						
		    						</form>	    							
	    						</div>
	    						<div class="col-md-3">
		   					 	 		<div class="btn-group btn-group-devided">
	    								<button id="btnSearch" class="btn btn-sm sbold">Search</button>
	    								<button id="btnReset" class="btn btn-sm sbold">Reset</button>
	    								<button id="btnAdd" class="btn btn-sm sbold green"> Add
				                             <i class="fa fa-plus"></i>
				                         </button>
	    								</div>
			                     </div>
	    					</div>    					
    					
				    		<div class="table"> 
                                <table class="table table-striped table-hover table-bordered dataTable no-footer" id="performanceMaintainDaylist" role="grid" aria-describedby="sample_editable_1_info">
			                        <thead>
                                            <tr role="row">
                                            <th>厂别</th> 
                                            <th>日期</th>  
                                            <th>类别</th>  
                                            <th>异常站点</th>  
                                            <th>工号</th> 
                                            <th>姓名</th> 
			                                <th>内容</th>
			                                <th>组长</th>
			                                <th>班别</th>
			                                <th>操作</th>
                                            </tr>
                                    </thead>
			                        <tbody>                            
			                        </tbody>
		                  		</table> 
				    		</div>
				    		<%@ include file="../../inc/tablefooter.jsp"%>
    					</div>
    				</div>
    			</div>
    		</div>
    	</div>
    	<script src="../../assets/views/script/performanceMaintainByDay.js" type="text/javascript"></script>
    	
    	<!--------------------------添加/修改操作品质的弹出层---------------------------->
		<div id="modalAdd" class="modal fade bs-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog modal-lg">
		        <div class="modal-content">
		            <div class="modal-header">
		                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
		                <h4 class="modal-title">
		                    <i class="icon-pencil"></i>
		                    <span id="lblAddTitle" style="font-weight:bold">添加数据</span>
		                </h4>
		            </div>
	                <div class="modal-body">
	                	<form id="basicform" class="form-horizontal form-bordered form-row-strippe" action="" data-toggle="validator" enctype="multipart/form-data">
		                    <div class="row">
		                    	<div class="col-md-6">
		                    		<div class="form-group">
		                                <label class="control-label col-md-3">厂别</label>
		                                <div class="col-md-9">
		                                     <select id="factory" name="factory" type="text" class="form-control"></select>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                                <label class="control-label col-md-3">异常类别</label>
		                                <div class="col-md-9">
		                                     <select id="type" name="type" type="text" class="form-control"></select>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                                <label class="control-label col-md-3">DL工号</label>
		                                <div class="col-md-9">
		                                    <input id="emp_id" name="emp_id" type="text" class="form-control" placeholder="请输入,如'C0902001' " />
		                                </div>
		                            </div>
		                            <div class="form-group">
		                                <label class="control-label col-md-3">组长姓名</label>
		                                <div class="col-md-9">
		                                    <input id="group_leader" name="group_leader" type="text" class="form-control" placeholder="请输入,如'张三'"/>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                                <label class="control-label col-md-3">内容</label>
		                                <div class="col-md-9">
		                                    <textarea id="reason" name="reason" class="form-control" placeholder="请输入" ></textarea>
		                                </div>
		                        	</div>	 
		                    	</div>
		                    	<div class="col-md-6">
		                    		<div class="form-group">
		                                <label class="control-label col-md-3">发生日期</label>
		                                <div class="col-md-9">
		                                     <input id="fabDate" name="fabDate" type="text" class="form_date form-control form-control-inline" placeholder="请选择" />
		                                </div>
		                        	</div>
		                            <div class="form-group">
		                                <label class="control-label col-md-3">异常站点</label>
		                                <div class="col-md-9">
		                                	<select id="ope_id" name="ope_id" class="form-control" ></select>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                                <label class="control-label col-md-3">DL姓名</label>
		                                <div class="col-md-9">
		                                     <input id="emp_name" name="emp_name" type="text" class="form-control" placeholder="请输入,如'张三'" />
		                                </div>
		                            </div>
		                            <div class="form-group">
		                                <label class="control-label col-md-3">班别</label>
		                                <div class="col-md-9">
		                                    <input id="class_type" name="class_type" type="text" class="form-control" placeholder="请输入,如'A'、'B' "/>
		                                </div>
		                        	</div>	
		                    	</div>			                    
		                    </div>
	                    </form>
	                </div>
	                <div class="modal-footer bg-info">
	                    <input type="hidden" id="depatmentId" name="depatmentId" />
	                    <button class="btn btn-outline dark" data-dismiss="modal" type="button" id="CancelDept">取消</button>
						<button class="btn green" type="button" id="btnAddData">确定</button>
	                </div>
		        </div>
		    </div>
		</div>
		<script src="../../assets/views/script/select.js" type="text/javascript"></script>
	</body>
</html>